var os = require('os');

console.log('hello' + os.EOL + "nodejs" );
console.log('主机名' + os.hostname());
console.log('系统' + os.type() );
console.log('内存' + os.totalmem() );
console.log( os.cpus() );